package com.tentime.saas;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;

/**
 * <P>用途:SpringBoot启动类<p>
 * <P>描述:指定项目为springboot，此类当作程序入口，自动装配 web依赖的环境<p>
 * 
 * @author chlingm
 *
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@EnableJpaAuditing // 使用jpa自动赋值
@EnableCaching // 开启缓存
public class SaasDBSchemaApplication {

    public static void main(String[] args) {
        SpringApplication.run(SaasDBSchemaApplication.class, args);
    }
}